/**
 * Copyright &copy; 2019-2022 <a href="https://gitee.com/rit/zx-pm">zx-pm</a> All rights reserved.
 */
package com.zx.pm.modules.zx.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zx.pm.common.persistence.Page;
import com.zx.pm.common.service.CrudService;
import com.zx.pm.modules.zx.entity.ProExperts;
import com.zx.pm.modules.zx.dao.ProExpertsDao;

/**
 * 项目评审专家Service
 * @author forest
 * @version 2019-01-24
 */
@Service
@Transactional(readOnly = true)
public class ProExpertsService extends CrudService<ProExpertsDao, ProExperts> {

	public ProExperts get(String id) {
		return super.get(id);
	}
	
	
	public List<ProExperts> findList(ProExperts proExperts) {
		return super.findList(proExperts);
	}
	
	public List<ProExperts> findListByLzdId(ProExperts proExperts) {
		return dao.findListByLzdId(proExperts);
	}
	
	public Page<ProExperts> findPage(Page<ProExperts> page, ProExperts proExperts) {
		return super.findPage(page, proExperts);
	}
	
	@Transactional(readOnly = false)
	public void save(ProExperts proExperts) {
		super.save(proExperts);
	}
	
	
	@Transactional(readOnly = false)
	public void delete(ProExperts proExperts) {
		super.delete(proExperts);
	}
	
	@Transactional(readOnly = false)
	public void deleteByLzdId(ProExperts proExperts) {
		dao.deleteByLzdId(proExperts);
	}
	
	@Transactional(readOnly = false)
	public int updatePay(ProExperts proExperts) {
		return dao.updatePay(proExperts);
	}
	
	@Transactional(readOnly = false)
	public int batchConfirmPay(ProExperts proExperts) {
		return dao.batchConfirmPay(proExperts);
	}
	
	public Integer getRelationExits(ProExperts proExperts) {
		return dao.getRelationExits(proExperts);
	}
}